
#ifndef __PHOTO_VIEWER_SETTING_WINDOW_H__
#define __PHOTO_VIEWER_SETTING_WINDOW_H__
#include "mzfclib.h"
#include "BottomBar.h"
#include "CommonDefines.h"
class CPhotoViewerSettingDlg : public CMzWndEx
{
	MZ_DECLARE_DYNAMIC(CPhotoViewerSettingDlg);
public:
	CPhotoViewerSettingDlg( HINSTANCE hInst,  Photo_Setting &photoSetting );
	virtual ~CPhotoViewerSettingDlg();
	virtual void PaintWin(HDC hdc, RECT* prcUpdate /* = NULL */);
protected:
	virtual BOOL OnInitDialog();
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);
	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);
private:
	void _SetttingTextInit();
	int _AccMessage( WPARAM wParam );
	void _SendScreenRotateMsg( int screenStatus );
	UiButtonEx m_photoStayTime;
	UiButtonEx m_backlightTime;
	UiButtonEx m_slideShowEffect;
	UiButtonEx m_randomSelect;
	UiButtonEx m_repeatPlay;
	UiButtonEx m_backlight;
	UiButton m_randBtn;
	UiButton m_repeatBtn;
	UiScrollWin m_scroll;
	UiButton_Image m_finishBtn;
	UiToolbar_Text m_toolBar;
	UiStatic m_staticText;
 	CUiStatusBar m_slideBar;
	HINSTANCE m_hInst;
	Photo_Setting &m_photoSetting;

	ImagingHelper m_downImage;
	ImagingHelper m_arrowImage;
	BOOL m_bChangeDisplay;
	BOOL m_bActive;

};
#endif

